package com.cvit;
public class Main
{
	public static void chooseClass(SubClass2 Sub2)
	public static void chooseClass(SubClass3 Sub3)
}
public static void main (String args[])
{
	int x=7;
	Airplane airplane=new Airplane();
	airplane.takeOff();
	SubClass1 sub1=new SubClass();
	Sub1.aMethod();
	int a=sub1.aMethod(x,x);
	System.out.println(a);
	airplane.fly();
	SubClass2 sub2=new SubClass2();
	SubClass3 sub3=new SubClass3();
	chooseClass(sub2);
	int b=sub2.aMethod(x,x);
	System.out.println(b);
	chooseClass(sub3);
	int c=sub3.aMethod(x,x);
	System.out.println(c);
	airplane.fly();
}